home *** CD-ROM | disk | FTP | other *** search
- Path: hermes.oc.com!usenet
- From: Larry Weiss <lfw@oc.com>
- Newsgroups: comp.lang.c
- Subject: Re: Unable to check callo
- Date: Thu, 08 Feb 1996 17:49:48 -0600
- Organization: OpenConnect Systems, Dallas, TX, USA
- Message-ID: <311A8C1C.77CB@oc.com>
- References: <4fakm9$24f@gail.ripco.com> <danpop.823791819@rscernix>
- NNTP-Posting-Host: ocs2228.oc.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0 (Win16; I)
- CC: lfw@oc.com
-
- Dan Pop wrote:
- >
- > In <4fakm9$24f@gail.ripco.com> mambuhl@ripco.com (Martin Ambuhl) writes:
- > >At the time of K&R1 (1978), the "standard" library had calloc() but
- > >_not_ malloc(). malloc() is a stripped down version of calloc() rather
- > >than calloc() being an augmented malloc(). So calloc() exists in older
- > >C programs that would break if it were not available.
- >
- > It's a fairly long time since I've read K&R1, but I clearly remember
- > malloc being described there (including a demo Unix implementation).
- >
-
- Dan, you may be remembering K&R 1's alloc() function.
- I find no reference to a malloc() in K&R 1.
-